package com.pd.backend.mapper;

import com.pd.backend.domain.pojo.Truck;
import com.pd.backend.domain.pojo.TruckDriver;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 车辆数据层接口
 */
@Mapper
public interface TruckMapper {


    /**
     * 通过车队id获取车辆列表
     * @param fleetId
     * @return
     */
    List<Truck> getTruckListByFleetId(@Param(("fleetId")) String fleetId);
}
